﻿///<copyright>
/// Copyright © 2009 Stephen Styrchak. All Rights Reserved.
///</copyright>
using System;

namespace Ferpect.ComponentModel
{
    [AttributeUsage(AttributeTargets.Class)]
    public class GameServiceAttribute : Attribute
    {
        public GameServiceAttribute(Type serviceType)
        {
            if (serviceType == null) throw new ArgumentNullException("serviceType");
            this.ServiceType = serviceType;
        }

        public Type ServiceType
        {
            get;
            private set;
        }
    }
}
